aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/[groupId]/reimbursement-list.tsx
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-19 09:36:40 -0500
committerGitHub <noreply@github.com>2023-12-19 09:36:40 -0500
commit1e66efe5169dfad9a0c62ba42fbf31ce977bf49e (patch)
tree3c2ea81a8b2dd9ba989855de553d65b1bb90b7ad /src/app/groups/[groupId]/reimbursement-list.tsx
parent66ab0ff82bbcb3294d3a0fb84ae5ffcae9910e26 (diff)
Use modal dialogs for expense creation & edition (#10)
* First attemps at using route interception and modals * Remove route interception * Make it work * Use Vaul on small screens * Improve vaul
Diffstat (limited to 'src/app/groups/[groupId]/reimbursement-list.tsx')
-rw-r--r--src/app/groups/[groupId]/reimbursement-list.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/groups/[groupId]/reimbursement-list.tsx b/src/app/groups/[groupId]/reimbursement-list.tsx
index 54ee9d7..1153b59 100644
--- a/src/app/groups/[groupId]/reimbursement-list.tsx
+++ b/src/app/groups/[groupId]/reimbursement-list.tsx
@@ -37,6 +37,7 @@ export function ReimbursementList({
<Button variant="link" asChild className="-mx-4 -my-3">
<Link
href={`/groups/${groupId}/expenses/create?reimbursement=yes&from=${reimbursement.from}&to=${reimbursement.to}&amount=${reimbursement.amount}`}
+ scroll={false}
>
Mark as paid
</Link>